package com.easylinkin.linkappapi.grid.models.vo;

import com.easylinkin.linkappapi.safe.dto.HiddenDangerDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author kyj
 * @date 2024/5/31 15:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class GridHiddenDangerInfoVO extends HiddenDangerDTO {

    public GridHiddenDangerInfoVO(HiddenDangerDTO dto) {
        this.setId(dto.getId());
        this.setGridId(dto.getGridId());
        this.setHiddenDangerId(dto.getHiddenDangerId());
        this.setIsSceneRectify(dto.getIsSceneRectify());
        this.setSupplementRemarks(dto.getSupplementRemarks());
        this.setRectifyRequirements(dto.getRectifyRequirements());
        this.setLinkUnitId(dto.getLinkUnitId());
        this.setRectifyUid(dto.getRectifyUid());
        this.setRectifyEndTime(dto.getRectifyEndTime());
        this.setCheckUid(dto.getCheckUid());
        this.setScenePhoto(dto.getScenePhoto());
        this.setIsOverdue(dto.getIsOverdue());
        this.setStatus(dto.getStatus());
        this.setCloseTime(dto.getCloseTime());
        this.setCheckPartId(dto.getCheckPartId());
        this.setNoticerIds(dto.getNoticerIds());
        this.setNoticerNames(dto.getNoticerNames());
        this.setTaskId(dto.getTaskId());
        this.setCreateUid(dto.getCreateUid());
        this.setCreateTime(dto.getCreateTime());
        this.setTenantId(dto.getTenantId());
        this.setType(dto.getType());
        this.setEnterpriseCheckType(dto.getEnterpriseCheckType());
        this.setEnterpriseSourceType(dto.getEnterpriseSourceType());
        this.setEnterpriseCreateUserName(dto.getEnterpriseCreateUserName());
        this.setEnterpriseOrganizationId(dto.getEnterpriseOrganizationId());
        this.setEnterpriseCreateUserId(dto.getEnterpriseCreateUserId());
        this.setEnterpriseSafetyCheckId(dto.getEnterpriseSafetyCheckId());
        this.setEnterpriseCreateUserPhone(dto.getEnterpriseCreateUserPhone());
        this.setRectifyName(dto.getRectifyName());
        this.setIdFlag(dto.getIdFlag());
        this.setStartTime(dto.getStartTime());
        this.setEndTime(dto.getEndTime());
        this.setCreator(dto.getCreator());
        this.setRectifer(dto.getRectifer());
        this.setChecker(dto.getChecker());
        this.setCreatePhone(dto.getCreatePhone());
        this.setRectiferPhone(dto.getRectiferPhone());
        this.setCheckerPhone(dto.getCheckerPhone());
        this.setInfos(dto.getInfos());
        this.setBeOverdue(dto.getBeOverdue());
        this.setUnitName(dto.getUnitName());
        this.setFullName(dto.getFullName());
        this.setContent(dto.getContent());
        this.setLevel(dto.getLevel());
        this.setIsFilter(dto.getIsFilter());
        this.setCheckPartFullName(dto.getCheckPartFullName());
        this.setParamKey(dto.getParamKey());
        this.setLinkappTenant(dto.getLinkappTenant());
        this.setDangerTypeName(dto.getDangerTypeName());
        this.setOrganizationIds(dto.getOrganizationIds());
        this.setLinkappTenantList(dto.getLinkappTenantList());
        this.setCreatePhone(dto.getCreatePhone());
    }

    /**
     * 网格名称
     */
    @ApiModelProperty(value = "网格名称", position = 3)
    private String gridName;

    /**
     * 创建人手机号
     */
    private String createPhone;

    /**
     * 反馈语音
     */
    @ApiModelProperty(value = "反馈语音", position = 5)
    private GridFileInfoVO rectifyVoice;
}
